//
//  NightCell.m
//  FreeReading
//
//  Created by lanou3g on 15/11/3.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "NightCell.h"

@implementation NightCell
- (IBAction)nightAndDay:(UISwitch *)sender {
    
    [[NSNotificationCenter defaultCenter] postNotificationName:@"NIGHT" object:nil userInfo:@{@"state":[NSNumber numberWithBool:sender.on], @"obj":self}];
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
